403 response from page while cURL is successful #656
                  
                    
                      rachelwigell
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 1 reply
-
| 
         @rachelwigell When I run curl with the   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting a 403 response from this page using this code:
I am able to successfully get the body of the page with a 200 response using equivalent cURL (I have cURL 8.4.0 installed):
Does anyone have any ideas for why this would be successful through cURL but not Mechanize? I have version 2.12.2 of Mechanize installed.
Beta Was this translation helpful? Give feedback.
All reactions