optimalstrategy / sms_forwarder_app

An app for forwarding SMS messages
MIT License
55 stars 18 forks source link

Request does not contain any data #22

Open joonaskaskisola opened 1 year ago

joonaskaskisola commented 1 year ago

Device: OnePlus 7T Pro SIM1 & SIM2 enabled Android version: 13

Application is configured to forward all received sms messages to api endpoint in local network using post as request type.

However, received requests do not contain any data. No request body or get parameters.

Received POST request: [1] http://192.168.1.61:8088/sms? [1] { query: {}, body: {} }

Steps to reproduce

1. Start temporary server

Create index.php file and then run php -S 0.0.0.0:8088 index.php

<?php
file_put_contents('temp.txt', var_export($_REQUEST, true));

2. Send test from application

3. Check temp.txt file contents