Api GET/POST communications