Jump to content

CURL Date Query not working


Go to solution Solved by comment,

Recommended Posts

If I post the line below with the insert URL script step. The date is ignored, and all customers are returned.

-X GET "https://www.scaleif.com/api/v2/grain/scale/customers?createdChangedSince=2023-03-01" -H "accept: text/plain" -H  "Authorization: Bearer 1234"

Any ideas as to why it's not working properly?

TIA

John

 

Link to comment
Share on other sites

  • Solution

I don't think we can answer that without seeing (a) the API's documentation and (b) the exact way you have set up the Insert from URL script step (you certainly cannot put the URL and the cURL options on the same line).

As an aside, I don't think you need the -X GET  part. But that's not relevant to the problem you raise.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.