Re: python requests get from API and post to another API and remote u'

2019-08-21 Thread Heinrich Kruger
‐‐‐ Original Message ‐‐‐ On Tuesday, August 20, 2019 10:18 AM, Chris Angelico wrote: > On Tue, Aug 20, 2019 at 6:59 PM Noah noah-l...@enabled.com wrote: > > > Hi, > > I am trying to migrate information and data between two systems using > > their corresponding APIs. I am using python requ

Re: python requests get from API and post to another API and remote u'

2019-08-20 Thread Pankaj Jangid
Noah writes: > I place a get request and the response from the API is "{'id': 32, > 'description': u'Firewall Outside', 'address': u'10.10.10.230/30'}" > > I then take that information and attempt post it to the other API. > The data is not accepted and the result is an HTTP 400 code. > > I tried

Re: python requests get from API and post to another API and remote u'

2019-08-20 Thread Chris Angelico
On Tue, Aug 20, 2019 at 6:59 PM Noah wrote: > > Hi, > > I am trying to migrate information and data between two systems using > their corresponding APIs. I am using python requests. > > I place a get request and the response from the API is "{'id': 32, > 'description': u'Firewall Outside', 'addres