Questions tagged [uri]

A Uniform Resource Identifier (or URI) is a string of characters used to identify a name or resource. URI is legacy terminology. In most cases, the term URL should be used instead.

uri
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

How can i get the filename from a string type link

With Retrofit, I get the url data in string data type, but I need the file name inside the url, how can I get it? I've visited many websites but I couldn't find any results about it.
Kasepriun Alcatraz's user avatar
0 votes
1 answer
31 views

Splite URI with regex

I am new in Regex. I want to splite my host URI like this:xxxPermanentWordChangeWord.myname.city.year.age i wnat to get: xxx and myname with one pattern regex i tried this var pattern = " (?=(?&...
user19728894's user avatar
0 votes
1 answer
65 views

Skype URI through adb, can't turn video on by default

I am trying to start a video call on Skype using their URI API, but the video is turned off when the call starts. They give a clear example how to use it: skype:skype.test.user.1?call&video=...
glicerico's user avatar
  • 799
0 votes
1 answer
42 views

Can I add an image knowing its URI from the phone to the r.drawable folder in Android Studio to use it in a ListView?

I have got the URI of an image from an Input Image Activity. I have passed this URI to the Main Activity using .putExtra. Now I have the URI of the image in the Main Activity and I want to save the ...
Kudor's user avatar
  • 51
0 votes
0 answers
301 views

How to properly write a file with Uri permission?

I got access to Android/data (the folder itself, not the app specific one) and now I need to write a file in this folder, but I have no idea how I can do this. I used the following code to check if I ...
Warley Soares's user avatar
-1 votes
1 answer
103 views

file:// URI scheme in JTextPane with HTML content is not working

I'm making an image cache in the folder of my application. I made code for downloading images and checking for their existence. However, I cannot use them in src attributes for some reason. I have ...
Alex654's user avatar
2 votes
1 answer
5k views

Discord uri generator doesn't work when creating a bot

I'm having trouble getting my bot's url generator to work, It's basically saying "Please enter a redirect uri". These nothing on google about that. Can anyone help me fix this? Here's a ...
LUCIFER's user avatar
  • 21
0 votes
0 answers
268 views

Error 400 - Bad Request to Service Now API using win_uri module

I'm working on an automation whose last step is to update a ticket in service now. To do this, I am attempting to use the ansible.builtin.win_uri module to send a PATCH request to the incident ...
DJ K's user avatar
  • 1
0 votes
0 answers
61 views

Uri from Filepath returns false EncodedPath

I have a Uri of a File that the User can pick with a FilePicker. I can make an intent with this Uri and Google Sheets opens the file successfully. I now get the Path of the pickedUri and create a new ...
Backfisch Inderjemmel's user avatar
0 votes
1 answer
104 views

How do i set SmbSessionFactory to stop encoding the question mark when building the url string connection to samba?

I am trying to use SMB support of spring boot, and i created a bean with SmbSessionFactory like this. ` @Bean public SmbSessionFactory smbSessionFactory() { SmbSessionFactory smbSession = ...
joca1128's user avatar
0 votes
0 answers
175 views

Intent get photo from gallery

I'm a newbie to android, I'm having a few small questions when working with Intent to get images from the gallery, the possible ways to get the images I can use like: Type 1: Intent getIntent = new ...
Văn Mạnh Trịnh's user avatar
1 vote
0 answers
952 views

How to get File from Uri (Activity Result)? [duplicate]

I am trying to make a File object from Uri which I get by selecting file from file explorer. Then I need to send this File to server. I get Uri object in following way: private val ...
AndroideuszPL's user avatar
1 vote
0 answers
42 views

Weird behaviour with htaccess RewriteRule (puts ?url= at the end in the address bar)

Currently i'm working on a webpage for my upcoming twitch bot. While doing this, i encountered a somewhat weird problem, or at least a behaviour i didn't expect and which i investigated the last 24 ...
ThatsNasu's user avatar
0 votes
1 answer
35 views

How to pass JSON all array values as a parameter to URI endpoint by looping?

I am trying to capture the JSON response value and passing it as Env var. For this I am looping the values captured from JSON. My problem is I am not able to pass the values from array index to the ...
Radhika Goturu's user avatar
0 votes
1 answer
105 views

SpringBoot with RequestMapping on Application and another RequestMapping in controller classes, is that possible?

I am learing SpringBoot and Rest api just now and in all examples I have seen, in every controller classes they have a @RequestMapping("/api/v1") and then some @GetMapping or simular. But it ...
PatrikI's user avatar
4 votes
0 answers
164 views

Why do browsers and Node.js parse URLs with custom schemes differently with "new URL(...)"?

Different browsers and JS runtimes behave differently when parsing URLs with custom schemes (that is, non-special schemes like "http"). For instance, parsing "test://example" with ...
ide's user avatar
  • 20.5k
1 vote
1 answer
545 views

How to set a query string value in C# relative urls

Assume there is a relative URL like: /api/services or /api/services?id=4. What is the best practice to add another query string parameter to the specified URL. For example, adding type=1 should lead ...
Khodaie's user avatar
  • 364
0 votes
0 answers
14 views

uri to bitmap conversion fails [duplicate]

I need to convert the uri to bitmap to set it as icon inside my notification. To be sure to have a valid URI I use getdownloadurl, it works, If I print the uri it gives me the right link that works, ...
C-Gian's user avatar
  • 99
0 votes
1 answer
103 views

Connecting Smartsheets with Celonis

i am trying to connect Smartsheet with Celonis. I already have a Client ID and Client Secret but everytime I try to connect both, Smartsheets shows an error saying Redirect URL ist missing or wrong. ...
Harry's user avatar
  • 1
0 votes
0 answers
23 views

I transfer in a link a string like this : baltus & adang. How can i keep that together

In th title i asp if i transfer a string like baltus & adang. In u link i have a variable named $NameString. This string is filled with the value 'Baltus & Adang' . When i passed it to the a ...
Fred Baltus's user avatar
1 vote
0 answers
151 views

Rest API - GET request help - Need help in constructing a URI with parameters

I am new to constructing Rest API GET queries. Need help in GET request of Rest API by passing the fields in sysparm_fields. I trying to query a Table via Rest API URI by passing only a limited number ...
Sathya's user avatar
  • 39
0 votes
1 answer
232 views

Uri.Path is not parsing / in scala

I have a filePath which I am trying to extract from a String. The string looks like: val myPath: String = "InitialIndexValue/this/is/some/kind/of/path" val firstIndex = myPath.indexOd('/') ...
Siddharth Shankar's user avatar
0 votes
1 answer
435 views

How to Remove Specific Query Filter From url in nextJS Application

i'm trying to add product filtering functionality like this: filter product image and after add filter i have to clear filter as user wish like this one: clear filter image if anyone give me real ...
Ashraful Mijan's user avatar
0 votes
1 answer
299 views

Problem Glide showing picture from local Uri

I'm trying to show a picture stored in my device using Glide but it doesn't work. My result Uri is: file:///data/user/0/com.example.tfg_red_social_v0/files/croppedImage.jpg The file exists I've ...
Monrac's user avatar
  • 49
-1 votes
1 answer
1k views

How can I check an URL with uri module and loop?

I'm trying to check URL's with the uri module and a loop of course because I have more than one URL. --- - name: check URLs with a loop hosts: localhost connection: local gather_facts: no vars:...
alfrerra's user avatar
0 votes
2 answers
39 views

How to convert a URI containing partial relative path like '/../' in the middle?

LibreOffice API object is returning a URI path that contains relative path in the middle of the string, like: file:///C:/Program%20Files/LibreOffice/program/../share/gallery/sounds/apert2.wav How to ...
Amour Spirit's user avatar
1 vote
1 answer
54 views

Stored image URI for later use, but it throws SecurityException

In the SecondActivity, it has an ImageViewand a Button public class SecondActivity extends AppCompatActivity { private ImageView galleryImage; @Override protected void onCreate(Bundle ...
Alex Cai's user avatar
0 votes
0 answers
239 views

Trying to create File from URI fails Kotlin

I am trying to create a File using the URI from ActivityResultContracts like this: val galleryLauncher = rememberLauncherForActivityResult(ActivityResultContracts.GetContent()) { uri -> ...
Cipri's user avatar
  • 127
1 vote
0 answers
255 views

How to get the Uri of the video captured with registerForActivityResult() in android?

I am trying to capture a video through the camera in my application, I am using registerForActivityResult() because startActivityForResult() has been deprecated. I am passing the ...
Samarthya Bararia's user avatar
0 votes
1 answer
69 views

UWP : create a BitmapImage with a google photo api uri/url - (Exception from HRESULT: 0x88982F50)

i am trying to display an image (in an UWP App) from my google photo online storage.(google photos api) When i query the photos i get an json with the following content { "id": "...
ChrisG's user avatar
  • 126
1 vote
0 answers
36 views

How do I route all paths on a particular domain to one central script? Apache

Some major websites have pages on their site indexed in ways like: Amazon.com/%SEO%/dp/%product_serial_number%/ No matter what you put in the %SEO% section, it brings up the same page. So how do they ...
Psudo's user avatar
  • 11
0 votes
2 answers
89 views

How do i keep the path in Uri decoded?

I am trying to create a uri, but for some reason is the path being decoded everytime, causing problems with my browser trying to access the page the uri build? POC: using System; ...
I am not Fat's user avatar
0 votes
1 answer
570 views

Ansible uri module loop on files

I'm using the Ansible uri module to make a PUT API call and using all files in a directory as parameters. I have a list of files in a directory, and I want to use the name and the content of each file ...
Hamdi Charef's user avatar
0 votes
1 answer
103 views

"Query String" inside URL segments?

Take the example question https://stackoverflow.com/questions/3563957/https-url-path-and-query-string. As you can see, we have the segment /questions followed by what I'm assuming is the question ID, /...
NewWebDev's user avatar
1 vote
2 answers
2k views

How to parse or split URL Address in Kotlin?

If I have this url address https://googledroids.com/post.html?limit=25&since=1374196005&md5=d8959d12ab687ed5db978cb078f1e&time=0dfdbac117 How could I get (or split) parameters (avoiding ...
Jorgesys's user avatar
  • 125k
0 votes
1 answer
591 views

How do I run a script when an api endpoint is hit?

Here is how I want my program to work. Step 2 is what I am unsure of how to implement. Client makes API call to /email endpoint /email endpoint has a script run that gather emails from GMAIL API Put ...
Dick's user avatar
  • 3
0 votes
0 answers
17 views

How to call an URI upon @click? [duplicate]

In a SPA web application I need to call a URI as the reaction to a click on an icon. I can successfully do this as part of a <a> anchor: <a href="obsidian://open?vault=Obsidian&file=...
WoJ's user avatar
  • 28.7k
0 votes
0 answers
200 views

i want to getSavedUri() of saved video file

i have made a simple camera application using cameraX api to record 10 sec video. app is working fine it records 10 sec video and save it into internal mobile storage but i want to get absolute path ...
Hassaan Zahid's user avatar
0 votes
0 answers
33 views

What is the URI of TOMCAT 10 JSTL for JSP, changing "http://java.sun.com/jsp/jstl/core" to the new URI? [duplicate]

I using tomcat 10 and it's standard libraries, in this case the jsp-api.jar with contains the Taglib. Since tomcat 10 all the components are renamed from javax to jakarta and the jstl is changed from ...
Roberto Gonzalez's user avatar
0 votes
0 answers
34 views

How to fix Target of URI doesn't exist: 'package:food_recipe/models/recipe.dart'?

I am using Android Studio as IDE. I get an error "Target of URI doesn't exist: 'package:food_recipe/models/recipe.dart'" when I import the package. I tried "flutter pub cache repair&...
Rfs's user avatar
  • 1
0 votes
0 answers
99 views

Get xlsx full file path from import url are missing value

I get full file path of xlsx file from url. Error show java.lang.IllegalArgumentException: Missing volume name: content://com.android.providers.media.documents/document/document%3A1000000004 full ...
Josort's user avatar
  • 11
0 votes
1 answer
140 views

How can i store uri.toString to my java class?

I want to store a uri to my donation.java class so that ill be able to fetch an image from firebase storage and display it on a cardview. However uri.toString is highlighted red and shows a "...
JMT's user avatar
  • 3
1 vote
0 answers
1k views

Webpack - Reading from "node:XXX" is not handled by plugins

I've got a typescript project that I'm building using Webpack. I'm fairly new to web development in general, so forgive me if my terminology isn't always correct. I'm trying to use the following npm ...
Carson's user avatar
  • 43
0 votes
1 answer
72 views

Get ResourceDictionary source from static member with design-time support

My basic goal is to have a ResourceDictionary in a dll which I can use in another WPF project via ResourceDictionary.MergedDictionaries. But I don't want to reference the ResourceDictionary by hard-...
Keith Stein's user avatar
  • 6,489
1 vote
2 answers
229 views

File does not exist exception although file does exist

I need to user to choose a file from storage. Once user chooses the file I can't do anything with it because it comes back with an exception "File does not exist", although it most certainly ...
Topstiks's user avatar
0 votes
1 answer
175 views

Part of my base url is removed upon adding a relative path

I have a base url https://dev.services.com/this/is/nothing/ and the path "max/status" When I try to add "max/status" to the base url the part this/is/nothing/ is removed. This just ...
Karla Flores's user avatar
0 votes
1 answer
341 views

Ansible URI module - OneView API query error: URL can't contain control character - (found at least ' ')

I am using the URI module to return all the active alerts from a HPE OneView appliance - name: connect to OneView and get alerts ansible.builtin.uri: #url: https://{{ oneview_appliance }}/rest/...
Scott Birch-Horn's user avatar
0 votes
0 answers
79 views

How can I add {user}:{password}@ to Java URI?

I need to use a very outdated variant of authentication for a third party server in my Java application. It looks like a subdomain: https://{user}:{password}@cool-domain.com/etc/etc. I know this is ...
BairDev's user avatar
  • 2,995
2 votes
2 answers
363 views

urlparse doesn't return params for custom schema

I am trying to use urlparse Python library to parse some custom URIs. I noticed that for some well-known schemes params are parsed correctly: >>> from urllib.parse import urlparse >>>...
Konrad Sikorski's user avatar
0 votes
1 answer
32 views

onclicklistner on videoview in recyclerview

hi i am building a app where, i show videos from firebase to videoview which is in recyclerview in gridlayout form, means at each fragment there are two videos shown, i want to add on clicklisten to ...
Aditya Sharma's user avatar

1
3 4
5
6 7
124