Not able to make GET requests to any ScriptTag API endpoints

Solved
DrJulik
New Member
2 1 0

Hey there!

I'm trying to implement ScriptTag API, but am unable to hit any of the GET endpoints (i.e /admin/api/2020-10/script_tags.json , /admin/api/2020-10/script_tags/count.json ).  I'm getting a "The request could not be understood by the server due to malformed syntax." error.
I am however able to make POST,PUT and DELETE requests, to those same endpoints. 

All the headers are in place and I'm testing the endpoints with Postman.

Appreciate your help.

0 Likes
DrJulik
New Member
2 1 0

This is an accepted solution.

Solved it on my own, since it was my own stupidity...

The problem was the leftover stuff I had in the body after the POST request, which was messing with the GET request.

Leaving this if anyone runs into something like that.

0 Likes