Replies: 2 comments
-
I have tried executing via curl and python, same result. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found the issue... There are typos in your documentation https://docs.socketlabs.com/ Look carefully: server/${server_id}/b "server" should actually be "servers" Can you update this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks. I'm attempting to use the officially documented socketlabs api spec to download a suppression list to a csv file.
I'm following this spec
and running this code, (replace the API key and server id)
I execute this way
using node18
I get this response
I've tried replacing the URL for the json endpoint of the same resource. To be prceise this endpoint:
https://api.socketlabs.com/v2/servers/:serverId/suppressions/search?pageSize=5&pageNumber=0&sortField=emailAddress&sortDirection=dsc
And it returned a valid json response.
I tried changing the url to an invalid one:
https://api.socketlabs.com/v2/server/${server_id}/banana/download?sortField=suppressionLastUpdate&sortDirection=dsc
and get the exact same 404 So I feel like there is a routing bug on socketlabs side... is this possible?
Beta Was this translation helpful? Give feedback.
All reactions