Sales Tax Calculator

फ्रीमियम
Verified
द्वारा SalesTaxIQ | अपडेट किया गया 9 days ago | eCommerce
लोकप्रियता

9.5 / 10

लेटेंसी

445ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Please check input error

Hello, when I try this app, I receive the error "please check input". 

This is my reques with Curl:

curl --request POST --url https://sales-tax-calculator.p.rapidapi.com/rates --header "content-type: application/json" --header "x-rapidapi-host: sales-tax-calculator.p.rapidapi.com" --header "x-rapidapi-key: ****" --data "{'city': 'New York','state': 'NY','street': '48 E 12th St','zip': '10003'}"

This is the response:

{“message”:“please check input”}

Can you help me?

Thank you

Rapid account: Tax Pro Digital
TaxProDigital Commented 2 years ago

Hi!
Please switch the single and double-quotes for the valid json post body like so:

curl --request POST --url https://sales-tax-calculator.p.rapidapi.com/rates --header "content-type: application/json" --header "x-rapidapi-host: sales-tax-calculator.p.rapidapi.com" --header "x-rapidapi-key: ****" --data '{"city": "New York","state": "NY","street": "48 E 12th St","zip": "10003"}'

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें