Sales Tax Calculator

免费增值
Verified
通过 SalesTaxIQ | 已更新 24 дня назад | eCommerce
人气

9.5 / 10

延迟

475ms

服务等级

100%

Health Check

N/A

返回所有讨论

Please check input error

Rapid account: Edeangelis KUMR Wl NM Sc 5
edeangelis-KUMRWlNMSc5
2 года назад
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 года назад

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"}'

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论