Jump to content

Recommended Posts

I had a script to automatically login to a site, and download data from it.  The provider just updated their pages.  They now appear to be JSON.  The previous code was straight php and curl.  When trying to login now, I get this error page echoed:

405 - HTTP verb used to access this page is not allowed.

Any pointers as to where I can look to re-write the code based on this error?  I'm not looking for someone to write the code for me...just a pointer to where to look for how to login to this site.

FYI, the site is:  https://www.premiereaffidavits.com/login

Thanks!

Edited by bschultz
Link to comment
https://forums.phpfreaks.com/topic/312923-php-curl-or-json-login/
Share on other sites

Given that it's apparently Javascript now, you're going to have to use your browser to watch what happens when you perform the assorted actions you need to automate.

Going to be pretty much impossible to tell you in more detail since it's all behind a login gate.

Hopefully won't be necessary.

Give it a shot. Watch the HTTP requests being made and the responses returned. Good news is that since it's Javascript a lot of things will probably be JSON instead of HTML you'll have to parse. Then repeat what you see with cURL.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.