import 'package:http/http.dart' as http; main() async { var url = 'https://hatter.ink/ip/ip.jsonp'; var response = await http.post(url, body: { 'name': 'doodle', 'color': 'blue' }); print('Response status: ${response.statusCode}'); print('Response body: ${response.body}'); print(await http.read('https://hatter.ink/ip/ip.jsonp')); }