Hi Ross, Try using 'X-HTTP-Method-Override: PUT'
Also, your server doesn't allow PUT operations? Eric On Sep 15, 10:05 pm, Ross <[EMAIL PROTECTED]> wrote: > Hi, > > I'm getting 'Invalid request URL' while trying to update a newly > created test product. The wiretrace shows the request and response: > > POST /base/feeds/items/10525695896896693443 HTTP/1.1 > > Host:www.google.com > > User-Agent: PEAR HTTP_Request class (http://pear.php.net/) > > Connection: close > > Accept-Encoding: gzip > > Referer:http://www.google.com/base/feeds/items > > Content-Type: application/atom+xml > > Authorization: OAuth oauth_consumer_key="www.healthmonthly.co.uk", > oauth_nonce="820cd23727706ee8b96ce9ce3fae", > oauth_signature="svmcFNUdwOMxphi%2FlLzYVksbdL6TVW%2FaebB4kEy > %2FrKIGWbskHf1knUcmXODIqTmWwaen0WifCGhglzVLV2LE83T1KxC77Kt3sgmwwPPNGVLsmrmPSltFdORFea3KD8fT7a47nF1mOz6UdYzHGrnWgO81XSt3u4YV3%2BNWLf5vAog > %3D", oauth_signature_method="RSA-SHA1", oauth_timestamp="1221541275", > oauth_token="1%2F6cu_b8rNXnuMbq4uCvcuVg", oauth_version="1.0" > > X-Google-Key: key=ABQIAAAAmMz0RY8IAAgJ1jwhP3e9sRQd_L98sBsX- > JWQcqalf3yYQf6LhRQ7U4kgprJ6deY9Mj3ZtCjzijeTLQ > > X-Method-Override: PUT > > Content-Length: 1464 > > <?xml version="1.0"?> > <entry xmlns="http://www.w3.org/2005/Atom" xmlns:g="http:// > base.google.com/ns/1.0"> > <title>Seven Seas High Strength Cod Liver Oil (TEST)</title> > <link rel="alternate" type="text/html" > href="http://www.healthmonthly.co.uk/seven_seas_high_strength_cod_liver_oil"/> > <content>Seven Seas High Strength One-a-Day capsules contain 200mg of > the Omega 3 nutrients - more than twice the amount in standard Seven > Seas capsules. As standard CLO it is a rich source of Vitamins A,D and > E. These vitamins are vital for healthy hair, skin, nails, vision, > teeth and bones. They also will boost your immune system.</content> > <g:id>7</g:id> > <g:item_type>Products</g:item_type> > <g:target_country>GB</g:target_country> > <g:item_language>en</g:item_language> > <g:image_link>http://www.healthmonthly.co.uk/product_images/big/seven- > seas-high-strength-cod-liver-oil-120.jpg</g:image_link> > <g:contact_phone>+44 (0) 1534 885960</g:contact_phone> > <g:application>JerseyProduce-HealthMonthly-svn</g:application> > <g:registered_application>Health Monthly</g:registered_application> > <g:brand>Seven Seas</g:brand> > <g:condition>new</g:condition> > <g:payment>Visa</g:payment> > <g:payment>MasterCard</g:payment> > <g:payment_notes>Product availability and prices subject to change > without notice</g:payment_notes> > <g:price>7.99 gbp</g:price> > <g:price_units>GBP</g:price_units> > <g:product_type>health and beauty</g:product_type> > <g:quantity>1</g:quantity> > </entry> > HTTP/1.1 400 Bad Request > > Content-Type: text/plain; charset=UTF-8 > > Transfer-Encoding: chunked > > Date: Tue, 16 Sep 2008 05:01:13 GMT > > Expires: Tue, 16 Sep 2008 05:01:13 GMT > > Cache-Control: private, max-age=0 > > Server: GFE/1.3 > > Connection: Close > > 14 > > Invalid request URI. > > 0 > > -- end wiretrace -- > > I'm having trouble finding out what's wrong with my request. As far as > I can tell, it seems to conform to the docs/examples I've looked at, > but I'm probably missing something. > > TIA, > > -- > Ross --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
