question

joedriscoll avatar image
joedriscoll asked dilip sent

How to test a REST app in the sandbox environment

I've created a REST application in my sandbox environment. The default oauth response is set to "code".

When attempting to do an install of the app on my test merchant, using the instructions found here: https://docs.clover.com/docs/merchant-interaction#install-your-test-app - my application gets the appropriate merchantId, employeeId, and code in the request, but when I try to request an api token from `https://apisandbox.dev.clover.com/oauth/v2/token` with a POST request including my app's id/secret along with the code provided from the oauth request, I receive a 401 error response.

What might I be doing wrong? Thanks for any help!

REST APISandboxOAuth
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
kabnetic avatar image
kabnetic answered kabnetic edited

I am having the issue. When you try to even access the url https://apisandbox.dev.clover.com gives a 404 not found. Which to me seems like the host does not exist.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community