Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

martes, 4 de agosto de 2015

Re: recaptcha v2 - always returns { "success": false, "error-codes": [ "missing-input-response", "missing-input-secret" ] }

Following is the fix: POST param is not JSON, it must be passed like a GET param :-) postParam = "secrect=XXXX&response=YYYY...."; Set Header: "Content-Type", "application/x-www-form-urlencoded; charset=utf-8" On Wednesday, July 29, 2015 at 6:21:08 PM UTC-7, amit motgi wrote: Hello Recaptcha Team,    I am trying to use the recaptcha-v2. When I am trying to do a siteverify on the server side I get the error  with error-codes => "missing-input-response" & "missing-input-secret" .    Is the payload format correct? What am I missing here?     I know that "g-recaptcha-response" must be sent only once. Not able to see what I am missing here. Any help would be really appreciated. REQUEST METHOD ======== POST API ==== http://bit.ly/1eCg7Yn Payload ======== {   "response":"03AHJ_...xxxxxxx",   "secret":"6Lc4UAoTAAAAACxxxxx. } ============================== RESPONSE ========== { "success": false, "error-codes": [ "missing-input-response", "missing-input-secret" ] } Thanks,   Amit Motgi -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

No hay comentarios:

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn