Sales Tax Calculator

부분 유료
Verified
분류별 SalesTaxIQ | 업데이트됨 15 days ago | eCommerce
인기

9.5 / 10

지연 시간

456ms

서비스 수준

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입