SOLVED - Any tool to capture URL content sent ?

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

SOLVED - Any tool to capture URL content sent ?

Post by teriibi » Thu Feb 01, 2018 6:14 pm

Hi everyone,

Is there a tool to get me a good "picture" of the content of an internet URL the stack is sending to the internet (or receiving from it) ...some tool easy to install that would show me (in real time) something like this, as soon as I click a send button of my LC stack.

http://forums.livecode.com/posting.php?mode=post&f=11
https://www.google.com/search?source=hp ... sy-ab.3..0

..or if that can be done within an LC stack : whats the funcion name ?

..just a way to actually check the full characters content of a request to a server.
*hope I make myself clear here... :shock: :lol:

I m under W10.
:?: :?: :?:
Last edited by teriibi on Sat Feb 03, 2018 1:53 pm, edited 1 time in total.

Klaus
Posts: 11317
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Any tool to capture URL content sent ?

Post by Klaus » Thu Feb 01, 2018 6:37 pm

Hola teriibi,

sorry, I have no idea what you are looking for?

Did you click you own links? 8)
The first one goes to the forum page where we can create a new thread!?
The second one is a GOOGLE search with "What is Livecode", which we already know

Do they have anything to do with what you are looking for?
Or is it just a test for our attention span? :D


Best

Klaus

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 317
Joined: Tue Apr 10, 2012 9:18 am

Re: Any tool to capture URL content sent ?

Post by ghettocottage » Thu Feb 01, 2018 6:48 pm

Not necessarily LC function, but this might be something that helps:

https://requestb.in

Klaus
Posts: 11317
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Any tool to capture URL content sent ?

Post by Klaus » Thu Feb 01, 2018 7:04 pm

With that link I just get:

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 317
Joined: Tue Apr 10, 2012 9:18 am

Re: Any tool to capture URL content sent ?

Post by ghettocottage » Thu Feb 01, 2018 7:14 pm

Looks like their website is down..I was just using it last night and it helped me debug some header data that was being sent from a remote device.

their Twitter account confirms issue...should be back up shortly.

Klaus
Posts: 11317
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Any tool to capture URL content sent ?

Post by Klaus » Thu Feb 01, 2018 7:26 pm

Aha, but I still have no idea what teriibi actually wants...

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Any tool to capture URL content sent ?

Post by teriibi » Thu Feb 01, 2018 7:44 pm

no nooo... :D
don t even click on those links...
those are just a sample of what I want a special tool to show me.

i am in the following case :
I created a stack.
The stack is able to send a request to a server online.
I press SEND button.
The Send button will process such request like : " request user name of such Id: xx" in the form of a link, right ?

I just would like to "retreive" - or read - the "whole sequense of characters in the URL content that is being sent away...
==>> https://www.MYSERVER.com/PARAMETERS PASSWORD, NAME, ETC,,,ETC,,,
(something that would look alike those two links i pasted..or whatever link you can read in the top of your browser...)

Made it more clear ? ..or not so ? :mrgreen:

PS:
Purpose, If i sent a Private data, that I am trying to be sure was encrypted in my Script...can I read the URL sent away so that I can check that it doesnt go out in Plain clear text !!! :oops: :oops: (check that the Script is really working to hide or - fail to hide - any data that I wanted to)

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Any tool to capture URL content sent ?

Post by teriibi » Thu Feb 01, 2018 7:58 pm

Yeap Cottage...Maybe

Code: Select all

https://requestb.in/
will do the trick... :idea:
So how do one uses it ?

do I just replace teh URL: https://requestb.in/ instead of my own server/page : myown.com/mypage.php request ?
..or how does it work ?

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 317
Joined: Tue Apr 10, 2012 9:18 am

Re: Any tool to capture URL content sent ?

Post by ghettocottage » Thu Feb 01, 2018 9:13 pm

at the site, create a "Request Bin"

that gives you a unique url to use

replace your url of your server for that in your LC app

send

go to that link and refresh page...you can do it a bunch of times. It stores your requests for 24 hours

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Any tool to capture URL content sent ?

Post by teriibi » Thu Feb 01, 2018 9:48 pm

Ok, tested it, though it doesnt return any params or values I can read about in my page...
Its sort of what I need but not excatly this....
thanks though for pointing to it.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2847
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Any tool to capture URL content sent ?

Post by mwieder » Fri Feb 02, 2018 3:44 am

Are you trying to recreate something like postman?

https://www.getpostman.com/

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Any tool to capture URL content sent ?

Post by teriibi » Fri Feb 02, 2018 4:11 am

Dont know it...and not planing on Dev. one tool.
just use one existing - if any - to show me URL content... :shock:

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2847
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Any tool to capture URL content sent ?

Post by mwieder » Fri Feb 02, 2018 4:17 am

For examining the contents (headers and data) of RESTful commands I use either postman or httpie. If you need something to examine a data stream in situ and can't mock it up for postman etc, then you probably want Wireshark.

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 83
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: Any tool to capture URL content sent ?

Post by matthiasr » Sat Feb 03, 2018 1:00 am

A nice tool on Mac OS X, Win and Linux for such tasks is Charles.
https://www.charlesproxy.com

Short description from the website:
Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

Matthias

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: Any tool to capture URL content sent ?

Post by teriibi » Sat Feb 03, 2018 2:12 am

thanks Mat, I will test that next :idea:
Sounds more like what i m looking for !
(Although i tried Wireshark but too complex for my isolated brain.. :P)

Post Reply

Return to “Internet”